<!-- head -->
<template name="header">
	<head>
		<meta charset="utf-8">
		<title><?php echo siteInfo('sitename');?></title>
		<meta name="keywords" content="<?php echo siteInfo('keywords');?>">
		<meta name="description" content="<?php echo siteInfo('descript');?>">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<link rel="stylesheet" href="<?php echo U_RES;?>/lib/layui/css/layui.css">
		<link rel="stylesheet" href="<?php echo U_RES_APP;?>/css/main.css">
		<link rel="stylesheet" href="<?php echo U_RES_APP;?>/css/index.css">
		<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
		<!--[if lt IE 9]>
          <script src="/res/lib/js/html5shiv-printshiv.min.js"></script>
          <script src="/res/lib/js/respond.min.js"></script>
        <![endif]-->
	</head>
</template>

<!-- style -->
<template name="style">
	<style>
		/**本专题页样式**/
	body{
		width: 100%;
		min-height: 100%;
		background:url("<?php echo U_RES;?>/index/images/special/header_bg.jpg") top center no-repeat #fff;
	}
	a:hover{color:#872b2f;}

	.cxuu_cate_title{padding-left:10px;line-height:60px;height:60px;font-size:18px;font-family:"微软雅黑","黑体";}
	.cxuu_list li{line-height:40px;height:40px;font-size:14px;font-family:"微软雅黑","黑体";overflow:hidden;}
	.cxuu_list .layui-badge-dot{height:4px;width:4px;}
	.cxuu_list .cxuu_time{float:right;color:gray;width:80px;padding-right:10px;font-size:14px;line-height:40px;height:40px;}
	.cxuu_list hr{margin-left:15px;margin-right:15px;}
	</style>
</template>


<!-- toper -->
<template name="toper">
	<div class="layui-container cxuu_header_height"></div>
</template>

<!-- 导航 -->
<template name="nav">
	<div class="layui-container">
		<ul class="layui-nav  layui-bg-blue cxuu_nav_title" lay-filter="">
			<li class="layui-nav-item <?php if(!isset($cid)) echo 'layui-this';?>"><a href="/"> 首 页 </a></li>
			<?php foreach(CxuuList("table='article_cate' id='".getCateChildData($cid)."' cache='600' order='sort DESC'") as $value){ ?>
			 <li class="layui-nav-item <?php if($value['id']==$cid) echo 'layui-this';?>"><a href="<?php if(!empty($value['urlname'])){echo urlList($value['urlname']); }else{echo urlList($value['id']);} ?>"><{$value['name']}></a></li>
			<?php }?>
		</ul>
	</div>
</template>

<!-- 导航 用于子模板-->
<template name="child_nav">
	<div class="layui-container">
		<ul class="layui-nav  layui-bg-blue cxuu_nav_title" lay-filter="">
			<li class="layui-nav-item <?php if(!isset($cid)) echo 'layui-this';?>"><a href="/"> 首 页 </a></li>
			<?php foreach(CxuuList("table='article_cate' id='".getCateChildData($pid)."' cache='600' order='sort DESC'") as $value){ ?>
			 <li class="layui-nav-item <?php if($value['id']==$cid) echo 'layui-this';?>"><a href="<?php if(!empty($value['urlname'])){echo urlList($value['urlname']); }else{echo urlList($value['id']);} ?>"><{$value['name']}></a></li>
			<?php }?>
		</ul>
	</div>
</template>

<!-- 页脚 -->
<template name="footer">
	<div class="layui-container">
		<div id="cxuu_main">
			<div id="footer">
				<p><strong><?php echo siteInfo('copyright');?></strong></p>
				<p><strong>2020 By Cdeng in Lasa</strong> <a href="/admin" target="_blank"> 后台维护</a></p>
				<hr class="layui-bg-gray">
			</div>
		</div>
	</div>
</template>